|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.qualitymeasures.CSVlogger
public class CSVlogger
Class used to write the results of quality measures to a csv- formatted file.
| Constructor Summary | |
|---|---|
CSVlogger(java.lang.String path,
java.lang.String agentA,
java.lang.String spaceA,
java.lang.String agentB,
java.lang.String spaceB,
java.lang.String domain)
Creates a CSV logger |
|
CSVlogger(java.lang.String path,
Trace trace)
|
|
| Method Summary | |
|---|---|
void |
addMeasure(java.lang.String name,
java.util.ArrayList<java.lang.Double> results)
Add an array with the results of a particular quality measures to the set of arrays which should be printed |
void |
writeToFileCompact(double timeOfAgreement,
boolean agreement,
int runNr)
Writes the quality measures to a compact log. |
void |
writeToFilePivotCompatible(int runNr,
double sampleSpeed,
boolean firstEntry)
Writes the quality measures to a pivot-table compatible log. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVlogger(java.lang.String path,
java.lang.String agentA,
java.lang.String spaceA,
java.lang.String agentB,
java.lang.String spaceB,
java.lang.String domain)
path - where the file should be stored (included extension)agentA - name of agent AspaceA - utility space of agent AagentB - name of agent BspaceB - utility space of agent B
public CSVlogger(java.lang.String path,
Trace trace)
| Method Detail |
|---|
public void addMeasure(java.lang.String name,
java.util.ArrayList<java.lang.Double> results)
name - of the quality measureresults - of the quality measure
public void writeToFileCompact(double timeOfAgreement,
boolean agreement,
int runNr)
public void writeToFilePivotCompatible(int runNr,
double sampleSpeed,
boolean firstEntry)
firstEntry -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||